package com.atguigu.guli.service.oss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssProperties {
    private String endpoint;// = "oss-cn-shanghai.aliyuncs.com";//https://oss-cn-hangzhou.aliyuncs.com
    // 阿里云账号AccessKey拥有所有API的访问权限，风险很高。强烈建议您创建并使用RAM用户进行API访问或日常运维，请登录RAM控制台创建RAM用户。
    private String accessKeyId;// = "LTAI5t7snjdU2qe5QWmZDQzQ";
    private String accessKeySecret;// = "VYDiGHk5354FzJDyxqYwTUyXPeDRew";
    private String scheme;// =  "https://";
    private String bucketName;// = "sh210108-guli";// oss中桶的名称

}
